<template>
	<view class="page" :style="{minHeight:windowHeight+'px'}">
		<view>
			<view class="join">
				已加入的团队
			</view>
			<view class="item">
				<image src="../../../static/app/logo.png"></image>
				<view class="info">
					<view class="name">xxx</view>
					<view class="phone">18888888888</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				windowHeight:'',
			};
		},
		onPullDownRefresh() {
			this.getData();
			setTimeout(()=>{
				uni.stopPullDownRefresh();
			},1000)
		},
		onLoad() {
			this.getData();
			uni.getSystemInfo({
				success: (res) => {
				this.windowHeight=res.windowHeight
				}
			});
		},
		methods:{
			/* 获取团队 */
			getData(){
				let self = this;
				uni.showLoading({
					title: '加载中'
				});
				self._get('', {}, function(res) {
					//console.log(res.data.Info)
					//self.driverIfno	= res.data.Info;
					//console.log(self.driverIfno)
					//self.loadding = false;
					uni.hideLoading();
				});
			},
		}
	}
</script>

<style lang="scss">
.page{
	width: 100%;
	height: 100%;
	background-color: #F4F4F4;
	overflow: hidden;
}
.join{
	margin: 20rpx;
}
.item{
	width: 90%;
	padding: 20rpx;
	margin: 0 auto;
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
}
.item image{
	width: 80rpx;
	height: 80rpx;
	margin-right: 20rpx;
}
.info{
	display: flex;
	flex-direction: column;
	//align-items: center;
}
.name{
	font-weight: 600;
}
.phone{
	margin-top: 6rpx;
	color: #8E8F92;
}
</style>
